////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   PO
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a VO file for the function, PO
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.poEnquiry.vo;

import java.sql.Timestamp;

import com.erp.app.login.poEnquiry.pk.PoEnquiryPk;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.framework.model.vo.SimplePageEditStyleVo;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomSqlDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/
public class PoEnquiryVo extends SimplePageEditStyleVo {

	//DB Table Name: T_PO_HDR

	//PK Attributes
	private String companyCode;                      //DB Column Name: COMPANY_CODE
	private String poNo;                             //DB Column Name: PO_NO

	//Other Attributes
	private String suplCode;                         //DB Column Name: SUPL_CODE
	private String billContactPerson;                //DB Column Name: BILL_CONTACT_PERSON
	private String billAddr1;                        //DB Column Name: BILL_ADDR1
	private String billAddr2;                        //DB Column Name: BILL_ADDR2
	private String billAddr3;                        //DB Column Name: BILL_ADDR3
	private String billAddr4;                        //DB Column Name: BILL_ADDR4
	private String billTel;                          //DB Column Name: BILL_TEL
	private String billFax;                          //DB Column Name: BILL_FAX
	private String billEmail;                        //DB Column Name: BILL_EMAIL
	private CustomSqlDate poDate;                    //DB Column Name: PO_DATE
	private String custCode;                         //DB Column Name: CUST_CODE
	private String shipContactPerson;                //DB Column Name: SHIP_CONTACT_PERSON
	private String shipAddr1;                        //DB Column Name: SHIP_ADDR1
	private String shipAddr2;                        //DB Column Name: SHIP_ADDR2
	private String shipAddr3;                        //DB Column Name: SHIP_ADDR3
	private String shipAddr4;                        //DB Column Name: SHIP_ADDR4
	private String shipTel;                          //DB Column Name: SHIP_TEL
	private String shipFax;                          //DB Column Name: SHIP_FAX
	private String shipEmail;                        //DB Column Name: SHIP_EMAIL
	private String status;                           //DB Column Name: STATUS
	private String suplRefNo;                        //DB Column Name: SUPL_REF_NO
	private String countryOfOrigin;                  //DB Column Name: COUNTRY_OF_ORIGIN
	private String portOfLoading;                    //DB Column Name: PORT_OF_LOADING
	private String destination;                      //DB Column Name: DESTINATION
	private String shipVia;                          //DB Column Name: SHIP_VIA
	private String payTerm;                          //DB Column Name: PAY_TERM
	private String handledBy;                        //DB Column Name: HANDLED_BY
	private String ccy;                              //DB Column Name: CCY
	private CustomBigDecimal totalAmt;               //DB Column Name: TOTAL_AMT
	private String shipRoute;                        //DB Column Name: SHIP_ROUTE
	private String freightForward;                   //DB Column Name: FREIGHT_FORWARD
	private String remark1;                          //DB Column Name: REMARK1
	private String revision;                         //DB Column Name: REVISION
	private String createUser;                       //DB Column Name: CREATE_USER
	private Timestamp createDate;                    //DB Column Name: CREATE_DATE
	private String updateUser;                       //DB Column Name: UPDATE_USER
	private Timestamp updateDate;                    //DB Column Name: UPDATE_DATE
	private String soNo;                             //DB Column Name: SO_NO
	private String shipCountryCode;                  //DB Column Name: SHIP_COUNTRY_CODE
	private String shipAreaCode;                     //DB Column Name: SHIP_AREA_CODE
	private String billCountryCode;                  //DB Column Name: BILL_COUNTRY_CODE
	private String billAreaCode;                     //DB Column Name: BILL_AREA_CODE
	private CustomSqlDate shipDate;                  //DB Column Name: SHIP_DATE
	private String deptCode;                         //DB Column Name: DEPT_CODE
	private String tradeTerms;                       //DB Column Name: TRADE_TERMS
	private CustomBigDecimal exchangeRate;           //DB Column Name: EXCHANGE_RATE
	private String remark2;                          //DB Column Name: REMARK2
	private String projectCode;                      //DB Column Name: PROJECT_CODE
	private String divisionDesc;                     //DB Column Name: DIVISION_DESC
	private String preparedBy;                       //DB Column Name: PREPARED_BY
	private String asmForwarder;                     //DB Column Name: ASM_FORWARDER

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.login.poEnquiry.schema.PoEnquirySchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.login.poEnquiry.dao.PoEnquiryDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.login.poEnquiry.bizLogic.PoEnquiryBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new PoEnquiryPk(this.companyCode, this.poNo);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, poNo = " + this.poNo + "}\n";

		String colStr = "COL: {suplCode = " + this.suplCode
			+ "\n, billContactPerson = " + this.billContactPerson
			+ "\n, billAddr1 = " + this.billAddr1
			+ "\n, billAddr2 = " + this.billAddr2
			+ "\n, billAddr3 = " + this.billAddr3
			+ "\n, billAddr4 = " + this.billAddr4
			+ "\n, billTel = " + this.billTel
			+ "\n, billFax = " + this.billFax
			+ "\n, billEmail = " + this.billEmail
			+ "\n, poDate = " + this.poDate
			+ "\n, custCode = " + this.custCode
			+ "\n, shipContactPerson = " + this.shipContactPerson
			+ "\n, shipAddr1 = " + this.shipAddr1
			+ "\n, shipAddr2 = " + this.shipAddr2
			+ "\n, shipAddr3 = " + this.shipAddr3
			+ "\n, shipAddr4 = " + this.shipAddr4
			+ "\n, shipTel = " + this.shipTel
			+ "\n, shipFax = " + this.shipFax
			+ "\n, shipEmail = " + this.shipEmail
			+ "\n, status = " + this.status
			+ "\n, suplRefNo = " + this.suplRefNo
			+ "\n, countryOfOrigin = " + this.countryOfOrigin
			+ "\n, portOfLoading = " + this.portOfLoading
			+ "\n, destination = " + this.destination
			+ "\n, shipVia = " + this.shipVia
			+ "\n, payTerm = " + this.payTerm
			+ "\n, handledBy = " + this.handledBy
			+ "\n, ccy = " + this.ccy
			+ "\n, totalAmt = " + this.totalAmt
			+ "\n, shipRoute = " + this.shipRoute
			+ "\n, freightForward = " + this.freightForward
			+ "\n, remark1 = " + this.remark1
			+ "\n, revision = " + this.revision
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate
			+ "\n, soNo = " + this.soNo
			+ "\n, shipCountryCode = " + this.shipCountryCode
			+ "\n, shipAreaCode = " + this.shipAreaCode
			+ "\n, billCountryCode = " + this.billCountryCode
			+ "\n, billAreaCode = " + this.billAreaCode
			+ "\n, shipDate = " + this.shipDate
			+ "\n, deptCode = " + this.deptCode
			+ "\n, tradeTerms = " + this.tradeTerms
			+ "\n, exchangeRate = " + this.exchangeRate
			+ "\n, remark2 = " + this.remark2
			+ "\n, projectCode = " + this.projectCode
			+ "\n, divisionDesc = " + this.divisionDesc
			+ "\n, preparedBy = " + this.preparedBy
			+ "\n, asmForwarder = " + this.asmForwarder + "}\n";

		return "PoHdrVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getPoNo() {
		return this.poNo;
	}

	public String getSuplCode() {
		return this.suplCode;
	}

	public String getBillContactPerson() {
		return this.billContactPerson;
	}

	public String getBillAddr1() {
		return this.billAddr1;
	}

	public String getBillAddr2() {
		return this.billAddr2;
	}

	public String getBillAddr3() {
		return this.billAddr3;
	}

	public String getBillAddr4() {
		return this.billAddr4;
	}

	public String getBillTel() {
		return this.billTel;
	}

	public String getBillFax() {
		return this.billFax;
	}

	public String getBillEmail() {
		return this.billEmail;
	}

	public CustomSqlDate getPoDate() {
		return this.poDate;
	}

	public String getCustCode() {
		return this.custCode;
	}

	public String getShipContactPerson() {
		return this.shipContactPerson;
	}

	public String getShipAddr1() {
		return this.shipAddr1;
	}

	public String getShipAddr2() {
		return this.shipAddr2;
	}

	public String getShipAddr3() {
		return this.shipAddr3;
	}

	public String getShipAddr4() {
		return this.shipAddr4;
	}

	public String getShipTel() {
		return this.shipTel;
	}

	public String getShipFax() {
		return this.shipFax;
	}

	public String getShipEmail() {
		return this.shipEmail;
	}

	public String getStatus() {
		return this.status;
	}

	public String getSuplRefNo() {
		return this.suplRefNo;
	}

	public String getCountryOfOrigin() {
		return this.countryOfOrigin;
	}

	public String getPortOfLoading() {
		return this.portOfLoading;
	}

	public String getDestination() {
		return this.destination;
	}

	public String getShipVia() {
		return this.shipVia;
	}

	public String getPayTerm() {
		return this.payTerm;
	}

	public String getHandledBy() {
		return this.handledBy;
	}

	public String getCcy() {
		return this.ccy;
	}

	public CustomBigDecimal getTotalAmt() {
		return this.totalAmt;
	}

	public String getShipRoute() {
		return this.shipRoute;
	}

	public String getFreightForward() {
		return this.freightForward;
	}

	public String getRemark1() {
		return this.remark1;
	}

	public String getRevision() {
		return this.revision;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public String getSoNo() {
		return this.soNo;
	}

	public String getShipCountryCode() {
		return this.shipCountryCode;
	}

	public String getShipAreaCode() {
		return this.shipAreaCode;
	}

	public String getBillCountryCode() {
		return this.billCountryCode;
	}

	public String getBillAreaCode() {
		return this.billAreaCode;
	}

	public CustomSqlDate getShipDate() {
		return this.shipDate;
	}

	public String getDeptCode() {
		return this.deptCode;
	}

	public String getTradeTerms() {
		return this.tradeTerms;
	}

	public CustomBigDecimal getExchangeRate() {
		return this.exchangeRate;
	}

	public String getRemark2() {
		return this.remark2;
	}

	public String getProjectCode() {
		return this.projectCode;
	}

	public String getDivisionDesc() {
		return this.divisionDesc;
	}

	public String getPreparedBy() {
		return this.preparedBy;
	}

	public String getAsmForwarder() {
		return this.asmForwarder;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setPoNo(String poNo) {
		this.poNo = poNo;
	}

	public void setSuplCode(String suplCode) {
		this.suplCode = suplCode;
	}

	public void setBillContactPerson(String billContactPerson) {
		this.billContactPerson = billContactPerson;
	}

	public void setBillAddr1(String billAddr1) {
		this.billAddr1 = billAddr1;
	}

	public void setBillAddr2(String billAddr2) {
		this.billAddr2 = billAddr2;
	}

	public void setBillAddr3(String billAddr3) {
		this.billAddr3 = billAddr3;
	}

	public void setBillAddr4(String billAddr4) {
		this.billAddr4 = billAddr4;
	}

	public void setBillTel(String billTel) {
		this.billTel = billTel;
	}

	public void setBillFax(String billFax) {
		this.billFax = billFax;
	}

	public void setBillEmail(String billEmail) {
		this.billEmail = billEmail;
	}

	public void setPoDate(CustomSqlDate poDate) {
		this.poDate = poDate;
	}

	public void setCustCode(String custCode) {
		this.custCode = custCode;
	}

	public void setShipContactPerson(String shipContactPerson) {
		this.shipContactPerson = shipContactPerson;
	}

	public void setShipAddr1(String shipAddr1) {
		this.shipAddr1 = shipAddr1;
	}

	public void setShipAddr2(String shipAddr2) {
		this.shipAddr2 = shipAddr2;
	}

	public void setShipAddr3(String shipAddr3) {
		this.shipAddr3 = shipAddr3;
	}

	public void setShipAddr4(String shipAddr4) {
		this.shipAddr4 = shipAddr4;
	}

	public void setShipTel(String shipTel) {
		this.shipTel = shipTel;
	}

	public void setShipFax(String shipFax) {
		this.shipFax = shipFax;
	}

	public void setShipEmail(String shipEmail) {
		this.shipEmail = shipEmail;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setSuplRefNo(String suplRefNo) {
		this.suplRefNo = suplRefNo;
	}

	public void setCountryOfOrigin(String countryOfOrigin) {
		this.countryOfOrigin = countryOfOrigin;
	}

	public void setPortOfLoading(String portOfLoading) {
		this.portOfLoading = portOfLoading;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public void setShipVia(String shipVia) {
		this.shipVia = shipVia;
	}

	public void setPayTerm(String payTerm) {
		this.payTerm = payTerm;
	}

	public void setHandledBy(String handledBy) {
		this.handledBy = handledBy;
	}

	public void setCcy(String ccy) {
		this.ccy = ccy;
	}

	public void setTotalAmt(CustomBigDecimal totalAmt) {
		this.totalAmt = totalAmt;
	}

	public void setShipRoute(String shipRoute) {
		this.shipRoute = shipRoute;
	}

	public void setFreightForward(String freightForward) {
		this.freightForward = freightForward;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public void setRevision(String revision) {
		this.revision = revision;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public void setSoNo(String soNo) {
		this.soNo = soNo;
	}

	public void setShipCountryCode(String shipCountryCode) {
		this.shipCountryCode = shipCountryCode;
	}

	public void setShipAreaCode(String shipAreaCode) {
		this.shipAreaCode = shipAreaCode;
	}

	public void setBillCountryCode(String billCountryCode) {
		this.billCountryCode = billCountryCode;
	}

	public void setBillAreaCode(String billAreaCode) {
		this.billAreaCode = billAreaCode;
	}

	public void setShipDate(CustomSqlDate shipDate) {
		this.shipDate = shipDate;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public void setTradeTerms(String tradeTerms) {
		this.tradeTerms = tradeTerms;
	}

	public void setExchangeRate(CustomBigDecimal exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public void setDivisionDesc(String divisionDesc) {
		this.divisionDesc = divisionDesc;
	}

	public void setPreparedBy(String preparedBy) {
		this.preparedBy = preparedBy;
	}

	public void setAsmForwarder(String asmForwarder) {
		this.asmForwarder = asmForwarder;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}